<template>
  <div>
    <div style="height: 100vh; overflow: hidden; display: flex; align-items: center; justify-content: center">
      <div style="font-size: 40px">404 找不到页面 <router-link to="/">返回首页</router-link></div>
        <el-button @click="changContact(1)">
            选择1
        </el-button>
        <el-button @click="changContact(2)">
            选择2
        </el-button>

    </div>

  </div>
</template>

<script>
export default {
  name: "404",
  data() {
    return {}
  },
  created() {

  },
  methods: {
      changContact(num) {
          this.$router.push({
              path:'/login',
              query: {
                  id: num === 1 ? "0" : "1"
              }
          })
      }
  }
}
</script>

<style scoped>

</style>